BlueCielo TeamWork 2012 VBScript API Reference | BlueCielo ECM Solutions

You are here: Understanding the TeamWork object model > About the Document object > The Document object methods > GetLog method

NEW  GetLog method

Gets the workflow comment log for the current document object.

Syntax
GetLog() As String
Parameters

This method accepts no parameters.

Return Value

A single string containing the entire Comment property value.

Remarks

This method can be useful to append the workflow history of one document to another that is being replaced or superceded.

Example
Sub DocProjectCopyEvent_AfterReleaseToMaster(Batch, MasterDoc, ProjectCopyChanged)
    MasterDoc.Log Document.GetLog()
    MasterDoc.ApplyPropertyValues
End Sub

Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com